package cn.wolfcode.rbac.query;

import lombok.Getter;
import lombok.Setter;

/**
 * @Description TODO
 * @ClassName QueryObject
 * @Author luhui
 * @date 2020.06.13 13:43
 * @version: 1.0
 */
@Getter
@Setter
public class QueryObject {

    private Integer currentPage = 1;

    private Integer pageSize = 3;

    public Integer getStart() {
        return (currentPage - 1) * pageSize;
    }
}